{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\n/* eslint react/prop-types: 0 */\nimport React from 'react';\nimport classNames from 'classnames';\nvar Pager = function Pager(props) {\n  var _classNames;\n  var prefixCls = \"\".concat(props.rootPrefixCls, \"-item\");\n  var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(props.page), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), props.active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-disabled\"), !props.page), _defineProperty(_classNames, props.className, !!props.className), _classNames));\n  var handleClick = function handleClick() {\n    props.onClick(props.page);\n  };\n  var handleKeyPress = function handleKeyPress(e) {\n    props.onKeyPress(e, props.onClick, props.page);\n  };\n  return /*#__PURE__*/React.createElement(\"li\", {\n    title: props.showTitle ? props.page : null,\n    className: cls,\n    onClick: handleClick,\n    onKeyPress: handleKeyPress,\n    tabIndex: \"0\"\n  }, props.itemRender(props.page, 'page', /*#__PURE__*/React.createElement(\"a\", {\n    rel: \"nofollow\"\n  }, props.page)));\n};\nexport default Pager;","map":{"version":3,"names":["_defineProperty","React","classNames","Pager","props","_classNames","prefixCls","concat","rootPrefixCls","cls","page","active","className","handleClick","onClick","handleKeyPress","e","onKeyPress","createElement","title","showTitle","tabIndex","itemRender","rel"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/rc-pagination/es/Pager.js"],"sourcesContent":["import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\n/* eslint react/prop-types: 0 */\nimport React from 'react';\nimport classNames from 'classnames';\nvar Pager = function Pager(props) {\n  var _classNames;\n  var prefixCls = \"\".concat(props.rootPrefixCls, \"-item\");\n  var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(props.page), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), props.active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-disabled\"), !props.page), _defineProperty(_classNames, props.className, !!props.className), _classNames));\n  var handleClick = function handleClick() {\n    props.onClick(props.page);\n  };\n  var handleKeyPress = function handleKeyPress(e) {\n    props.onKeyPress(e, props.onClick, props.page);\n  };\n  return /*#__PURE__*/React.createElement(\"li\", {\n    title: props.showTitle ? props.page : null,\n    className: cls,\n    onClick: handleClick,\n    onKeyPress: handleKeyPress,\n    tabIndex: \"0\"\n  }, props.itemRender(props.page, 'page', /*#__PURE__*/React.createElement(\"a\", {\n    rel: \"nofollow\"\n  }, props.page)));\n};\nexport default Pager;"],"mappings":"AAAA,OAAOA,eAAe,MAAM,2CAA2C;AACvE;AACA,OAAOC,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAM,YAAY;AACnC,IAAIC,KAAK,GAAG,SAASA,KAAK,CAACC,KAAK,EAAE;EAChC,IAAIC,WAAW;EACf,IAAIC,SAAS,GAAG,EAAE,CAACC,MAAM,CAACH,KAAK,CAACI,aAAa,EAAE,OAAO,CAAC;EACvD,IAAIC,GAAG,GAAGP,UAAU,CAACI,SAAS,EAAE,EAAE,CAACC,MAAM,CAACD,SAAS,EAAE,GAAG,CAAC,CAACC,MAAM,CAACH,KAAK,CAACM,IAAI,CAAC,GAAGL,WAAW,GAAG,CAAC,CAAC,EAAEL,eAAe,CAACK,WAAW,EAAE,EAAE,CAACE,MAAM,CAACD,SAAS,EAAE,SAAS,CAAC,EAAEF,KAAK,CAACO,MAAM,CAAC,EAAEX,eAAe,CAACK,WAAW,EAAE,EAAE,CAACE,MAAM,CAACD,SAAS,EAAE,WAAW,CAAC,EAAE,CAACF,KAAK,CAACM,IAAI,CAAC,EAAEV,eAAe,CAACK,WAAW,EAAED,KAAK,CAACQ,SAAS,EAAE,CAAC,CAACR,KAAK,CAACQ,SAAS,CAAC,EAAEP,WAAW,EAAE;EAC3U,IAAIQ,WAAW,GAAG,SAASA,WAAW,GAAG;IACvCT,KAAK,CAACU,OAAO,CAACV,KAAK,CAACM,IAAI,CAAC;EAC3B,CAAC;EACD,IAAIK,cAAc,GAAG,SAASA,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